#include "stm32f10x.h"                  // Device header
#include "OLED.h"
#include "LED.h"
#include "AD.h"
#include "delay.h"



int main(void)
{
    OLED_Init();
    AD_Init();
    
    OLED_ShowString(1, 1, "ADC1:");
    OLED_ShowString(2, 1, "ADC2:");
    
	while (1)
	{            
        OLED_ShowNum(1,6,ADC_value[0],4);
        OLED_ShowNum(2,6,ADC_value[1],4);
        Delay_ms(100);
	}
}
